cody - HTMLify profile

cody
4270 Files
632707 Views
Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/52 - Temperature Convertor
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #19172e;
height: 100vh;
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background-color: #19172e;
height: 100vh;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="icon.png" type="image/png" />
<title>Temperature Convertor</title>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="icon.png" type="image/png" />
<title>Temperature Convertor</title>
// taking input element
const celsius =document.getElementById('celsius');
const fahrenheit =document.getElementById('fahrenheit');
const kelvin =document.getElementById('kelvin');
const input_box = document.getElementsByClassName('input_box');
for(let i=0; i<input_box.length; i++){
const celsius =document.getElementById('celsius');
const fahrenheit =document.getElementById('fahrenheit');
const kelvin =document.getElementById('kelvin');
const input_box = document.getElementsByClassName('input_box');
for(let i=0; i<input_box.length; i++){